package com.droidpersist.core;

import java.util.ArrayList;
import java.util.List;

import com.droidpersist.core.annotations.Persist;


public class ObjectCache
{
	private List<Persist> objects;
	
	public ObjectCache()
	{
		this.objects = new ArrayList<Persist>();
	}
	
	public void add(Persist object)
	{
		this.objects.add(object);
	}
	
	public void clear()
	{
		this.objects.clear();
	}
}
